using System.Data;
using Dapper.Abstractions;
using SqlKata.Compilers;
using SqlKata.Execution;

namespace Dapper.Extensions;

public class SqlBuilderWrapper(Compiler compiler) : ISqlBuilder
{
	public QueryFactory GetQueryFactory(IDbConnection connection)
	{
		return new QueryFactory(connection, compiler);
	}
}
